package by.bsu.scs.model;

// Generated 05.03.2011 11:02:05 by Hibernate Tools 3.4.0.CR1

/**
 * 			This class contains TaskAttachment details.
 * 		
 */
public class TaskAttachment implements java.io.Serializable {
	private static final long serialVersionUID = 1L;
	
	private int taskAttachmentId;
	private Task task;
	private String taskAttachmentName;
	private TaskAttachmentState taskAttachmentState;
	private User user;

	public TaskAttachment() {
	}

	public TaskAttachment(Task task, String taskAttachmentName,
			TaskAttachmentState taskAttachmentState, User user) {
		this.task = task;
		this.taskAttachmentName = taskAttachmentName;
		this.taskAttachmentState = taskAttachmentState;
		this.user = user;
	}

	public int getTaskAttachmentId() {
		return this.taskAttachmentId;
	}

	public void setTaskAttachmentId(int taskAttachmentId) {
		this.taskAttachmentId = taskAttachmentId;
	}

	public Task getTask() {
		return this.task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public String getTaskAttachmentName() {
		return this.taskAttachmentName;
	}

	public void setTaskAttachmentName(String taskAttachmentName) {
		this.taskAttachmentName = taskAttachmentName;
	}

	public TaskAttachmentState getTaskAttachmentState() {
		return this.taskAttachmentState;
	}

	public void setTaskAttachmentState(TaskAttachmentState taskAttachmentState) {
		this.taskAttachmentState = taskAttachmentState;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
